<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="java.util.ArrayList, modele.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="css/bootstrap.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<title>Interface Match</title>
</head>
<body>
	<%@ include file="sessionAdmin.jsp"%>
	<!-- tester si vide -->
	<a href="interfaceAdmin.jsp" class="btn">Retour</a>
	</br>
	</br>

	<c:choose>
		<c:when test="${isArbitreAdded}">
			<div class="tabbable">
				<ul class="nav nav-tabs">
					<li class="active"><a href="#p" data-toggle="tab">Prévus</a></li>
					<li><a href="#ec" data-toggle="tab">En Cours</a></li>
					<li><a href="#t" data-toggle="tab">Terminés</a></li>
					<li><a href="#cl" data-toggle="tab">Classement</a></li>
				</ul>

				<div class="tab-content">
					<div id="p" class="tab-pane active"><%@ include
							file="matchPrevu.jsp"%></div>
					<div id="ec" class="tab-pane "><%@ include
							file="matchEnCoursDejeu.jsp"%></div>
					<div id="t" class="tab-pane"><%@ include
							file="matchTerminer.jsp"%></div>
					<div id="cl" class="tab-pane"><%@ include
							file="classement.jsp"%></div>
				</div>
				<!-- /.tab-content -->
			</div>
			<!-- /.tabbable -->
		</c:when>
		<c:otherwise>
			<div class="alert alert-error">
				<button type="button" class="close" data-dismiss="alert">&times;</button>
				<strong>Erreur : </strong> Vous n'avez pas encore ajouté vos
				arbitres</br> <a href="ajouterArbitre.jsp" class="btn btn-danger ">Cliquer
					ici pour le faire</a>
			</div>
		</c:otherwise>
	</c:choose>


</body>
</html>